import { resolve } from 'path'

// 目录
export const projRoot = resolve(__dirname, '..', '..', '..')
export const utilRoot = resolve(projRoot, 'utils')
export const pkgRoot = resolve(projRoot, 'packages')
export const compRoot = resolve(pkgRoot, 'components')
export const buildRoot = resolve(projRoot, 'internal', 'build')
export const eonRoot = resolve(pkgRoot, 'eon-ui')

// 输出目录
export const buildOutput = resolve(projRoot, 'dist')
export const eonOutput = resolve(buildOutput, 'eno-ui')

// package.json目录
export const projPackage = resolve(projRoot, 'package.json')
export const compPackage = resolve(compRoot, 'package.json')
export const utilPackage = resolve(utilRoot, 'package.json')
export const eonPackage = resolve(eonRoot, 'package.json')
